//
//  AddQQViewController.m
//  Double
//
//  Created by dllo on 15/5/23.
//  Copyright (c) 2015年 袁庆秋. All rights reserved.
//

#import "AddQQViewController.h"

@interface AddQQViewController ()

@end

@implementation AddQQViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"添加账号";
    [self createView];
    
    
    // Do any additional setup after loading the view.
}
#pragma mark 添加账号界面
- (void)createView
{
    UITextField * NumField = [[UITextField alloc]initWithFrame:CGRectMake(20, 30, self.view.frame.size.width - 40, 40)];
    [NumField setPlaceholder:@"QQ号码"];
    [NumField setBorderStyle:UITextBorderStyleRoundedRect];
    [self.view addSubview:NumField];
    [NumField release];
    
    UITextField * passwordField = [[UITextField alloc]initWithFrame:CGRectMake(20, 80, self.view.frame.size.width - 40, 40)];
    [passwordField setPlaceholder:@"密码"];
    [passwordField setBorderStyle:UITextBorderStyleRoundedRect];
    [self.view addSubview:passwordField];
    [passwordField release];
    
    UIButton * LoginButton = [[UIButton alloc]initWithFrame:CGRectMake(20, 130, self.view.frame.size.width - 40, 40)];
    [LoginButton setTitle:@"登录" forState:UIControlStateNormal];
    [LoginButton setBackgroundColor:[UIColor colorWithRed:20 / 255.0 green:100 /255.0 blue:230 /255.0 alpha:1]];
    [self.view addSubview:LoginButton];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
